Don't have BABL_ALPHA_THRESHOLD public yet.
authorMartin Nordholts <martinn@src.gnome.org>
Sat, 17 Jan 2009 13:47:52 +0000 (13:47 +0000)
committerMartin Nordholts <martinn@src.gnome.org>
Sat, 17 Jan 2009 13:47:52 +0000 (13:47 +0000)
* babl/babl.h: Don't have BABL_ALPHA_THRESHOLD public yet.

* babl/base/util.h: Put it here for now instead.

svn path=/trunk/; revision=371

ChangeLog
babl/babl.h
babl/base/util.h

index 13d44a6805fe18a1dfd04c48883680c2b0990ba6..b6d747005f83c1d9ec4364ca3a30c9eb6fc02ee6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-17  Martin Nordholts  <martinn@svn.gnome.org>
+
+       * babl/babl.h: Don't have BABL_ALPHA_THRESHOLD public yet.
+
+       * babl/base/util.h: Put it here for now instead.
+
 2009-01-17  Martin Nordholts  <martinn@svn.gnome.org>
 
        Instead of having BABL_CLASS() plus variants and making the macros
index 8283db379745400df6fe7a76343d7326e2fd1160..a62ad79f2045a146468378b8e3939f39a16c4506 100644 (file)
  */
 #define BABL_MAGIC   0xbab100
 
-/* Alpha threshold used in the reference implementation for
- * un-pre-multiplication of color data:
- *
- * 0.01 / (2^16 - 1)
- */
-#define BABL_ALPHA_THRESHOLD 0.000000152590219
-
 enum {
   BABL_INSTANCE = BABL_MAGIC,
   BABL_TYPE,
index fa2280ca27bb2f92988e159152ed84660e8a70ec..7ccaf8f56420538e996b04cf4b58e293f680aec8 100644 (file)
 #include <assert.h>
 #include <math.h>
 
+/* Alpha threshold used in the reference implementation for
+ * un-pre-multiplication of color data:
+ *
+ * 0.01 / (2^16 - 1)
+ */
+#define BABL_ALPHA_THRESHOLD 0.000000152590219
+
 #define BABL_PLANAR_SANITY  \
   {                         \
     assert(src_bands>0);    \